package com.youlei.newgraduateproject.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.youlei.newgraduateproject.dynamic.datasource.annotation.DataSource;
import com.youlei.newgraduateproject.entity.Employees;
import com.youlei.newgraduateproject.entity.Employees2;

import java.io.Serializable;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author youlei
 * @since 2021-05-08
 */
@DataSource("slave2")
public interface EmployeesService extends IService<Employees> {

   Employees2 getByEmployeeId(Integer id) ;

}
